package com.xyoto.community.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

@Data
@ApiModel("关注话题、取消关注话题")
public class SaveTopicFollowDTO {

    @ApiModelProperty("话题id")
    @Min(value = 1,message = "话题id最小值为1")
    private Integer topicId;
}